Skip to content

Add Erdős Problem 1128 (Prikry-Mills counterexample for monochromatic countable boxes)#3782

Open
henrykmichalewski wants to merge 5 commits into
google-deepmind:mainfrom
henrykmichalewski:add-problem-1128
Open

Add Erdős Problem 1128 (Prikry-Mills counterexample for monochromatic countable boxes)#3782
henrykmichalewski wants to merge 5 commits into
google-deepmind:mainfrom
henrykmichalewski:add-problem-1128

Conversation

@henrykmichalewski
Copy link
Copy Markdown
Member

Formalises Erdős Problem 1128: whether every 2-colouring of $\omega \times \omega \times \omega_1$ admits a monochromatic product $A \times B \times C$ with $A, B, C$ countably infinite.

Contents

  • Main theorem (answer: False): the problem is resolved negatively via the Prikry-Mills (1978, unpublished) construction.
  • prikryMills lemma (sorry): records the unpublished 1978 Prikry-Mills counterexample colouring.
  • variants.two_dimensional_false: a formal disproof of the naturally-false two-dimensional variant using the ordering colouring on $\omega \times \omega_1$.
  • Four proved helper lemmas about $\omega_1$ establishing countability and boundedness properties (card_le_aleph0_of_lt_omega1, countable_toType_of_lt_omega1, countable_Iio_of_lt_omega1, countable_Iio_omega1, countable_subset_bdd) used for the supporting infrastructure.

Assisted by Claude (Anthropic).

Formalises Problem 1128 on monochromatic countable boxes in
2-colourings of ω × ω × ω₁. The main theorem answers False via the
Prikry-Mills (1978) construction, recorded as the unpublished lemma
prikryMills (with `sorry`). Includes variants.two_dimensional_false
formally disproving the naturally-false two-dimensional variant via the
ordering colouring, plus four proved helper lemmas establishing
countability and boundedness properties of ω₁.

Reference: https://www.erdosproblems.com/1128
Assisted by Claude (Anthropic).
@github-actions github-actions Bot added the erdos-problems Erdős Problems label Apr 16, 2026
Mirrors the Round C docstring pass from the private repo's
phase1-infrastructure branch. Each Lean file now carries the
canonical source statement and upstream URL inline so reviewers
can verify formalization against the source without navigating
away from the diff.
@Paul-Lez Paul-Lez added the awaiting-author The author should answer a question or perform changes. Reply when done. label May 7, 2026
@mo271 mo271 removed the awaiting-author The author should answer a question or perform changes. Reply when done. label May 10, 2026
Copy link
Copy Markdown
Collaborator

@mo271 mo271 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Per repo conventions, it should appear once - ideally only in the erdos_1128 theorem docstring. The module docstring should be trimmed to title + reference link.

Comment on lines +19 to +63
/-!
# Erdős Problem 1128

**Verbatim statement (Erdős #1128, status R):**
> Let $A,B,C$ be three sets of cardinality $\aleph_1$. Is it true that, in any $2$-colouring of $A\times B\times C$, there must exist $A_1\subset A$, $B_1\subset B$, $C_1\subset C$, all of cardinality $\aleph_0$, such that $A_1\times B_1\times C_1$ is monochromatic?

**Source:** https://www.erdosproblems.com/1128

**Notes:** SOLVED - $50


*Reference:* [erdosproblems.com/1128](https://www.erdosproblems.com/1128)

Erdős offered a \$50 prize for the resolution of this problem. It was disproved by
Prikry and Mills (1978, unpublished).

## Problem statement

Let $A$, $B$, $C$ be three sets each of cardinality $\aleph_1$. Is it true that in
any 2-colouring of $A \times B \times C$, there must exist $A_1 \subseteq A$,
$B_1 \subseteq B$, $C_1 \subseteq C$, all of cardinality $\aleph_0$, such that
$A_1 \times B_1 \times C_1$ is monochromatic?

**Answer: NO.** Prikry and Mills (1978) constructed a 2-colouring of $\omega_1^3$
with no monochromatic countable combinatorial box.

## Prikry–Mills construction (sketch)

One fixes a well-ordering of $\omega_1$ and defines the colouring using the
ordinal arithmetic of the three coordinates. In ZFC, such a colouring can be
built by transfinite induction along $\omega_1$, ensuring at each stage that
every potential countable box $A_1 \times B_1 \times C_1$ is "killed" (receives
both colours). The key counting argument is that $\omega_1$ has uncountable
cofinality: at each stage of the induction only countably many boxes need to be
handled, and the construction can proceed without contradiction.

## Note on the 2D analogue

The file also contains a variant `two_dimensional` which claims that in 2D,
any 2-colouring of $\omega_1 \times \omega_1$ has an uncountable monochromatic
rectangle $A_1 \times B_1$. This statement appears to be **false** in ZFC:
the ordering coloring $f(\alpha, \beta) = 0 \text{ iff } \alpha < \beta$
provides a counterexample, since any uncountable subset of $\omega_1$ is cofinal
and hence cannot be bounded away from any other uncountable set.
-/
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
/-!
# Erdős Problem 1128
**Verbatim statement (Erdős #1128, status R):**
> Let $A,B,C$ be three sets of cardinality $\aleph_1$. Is it true that, in any $2$-colouring of $A\times B\times C$, there must exist $A_1\subset A$, $B_1\subset B$, $C_1\subset C$, all of cardinality $\aleph_0$, such that $A_1\times B_1\times C_1$ is monochromatic?
**Source:** https://www.erdosproblems.com/1128
**Notes:** SOLVED - $50
*Reference:* [erdosproblems.com/1128](https://www.erdosproblems.com/1128)
Erdős offered a \$50 prize for the resolution of this problem. It was disproved by
Prikry and Mills (1978, unpublished).
## Problem statement
Let $A$, $B$, $C$ be three sets each of cardinality $\aleph_1$. Is it true that in
any 2-colouring of $A \times B \times C$, there must exist $A_1 \subseteq A$,
$B_1 \subseteq B$, $C_1 \subseteq C$, all of cardinality $\aleph_0$, such that
$A_1 \times B_1 \times C_1$ is monochromatic?
**Answer: NO.** Prikry and Mills (1978) constructed a 2-colouring of $\omega_1^3$
with no monochromatic countable combinatorial box.
## Prikry–Mills construction (sketch)
One fixes a well-ordering of $\omega_1$ and defines the colouring using the
ordinal arithmetic of the three coordinates. In ZFC, such a colouring can be
built by transfinite induction along $\omega_1$, ensuring at each stage that
every potential countable box $A_1 \times B_1 \times C_1$ is "killed" (receives
both colours). The key counting argument is that $\omega_1$ has uncountable
cofinality: at each stage of the induction only countably many boxes need to be
handled, and the construction can proceed without contradiction.
## Note on the 2D analogue
The file also contains a variant `two_dimensional` which claims that in 2D,
any 2-colouring of $\omega_1 \times \omega_1$ has an uncountable monochromatic
rectangle $A_1 \times B_1$. This statement appears to be **false** in ZFC:
the ordering coloring $f(\alpha, \beta) = 0 \text{ iff } \alpha < \beta$
provides a counterexample, since any uncountable subset of $\omega_1$ is cofinal
and hence cannot be bounded away from any other uncountable set.
-/
/-!
# Erdős Problem 1128
*Reference:* [erdosproblems.com/1128](https://www.erdosproblems.com/1128)
-/

These establish key countability and boundedness properties of ω₁.
-/

private abbrev Omega1 := {o : Ordinal.{0} // o < (aleph 1).ord}
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's not redefne ω₁ with this dubious definition which perhaps give the wrong universe level. Mathib's already sits in Type 0 which is probably what Prikry-Mills needs here.

Also: this will probably alow us to elminate all the lemmas below: they are only thin wrappers around existing mathlib api already.

this would als perhaps allow us to eliminate the two versions of Prikry Mills:
Keep one and derive the other, or just keep one. Since the auxiliary lemmas are stated in terms of Omega1, the explicit version is more natural as the base case.

Erdős–Rado theorem $\omega_1 \to (\omega_1)^2_2$, which concerns unordered pairs.
-/
@[category research solved, AMS 3 5]
theorem erdos_1128.variants.two_dimensional_false :
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

two_dimensional_false seems not super closely related to 1128, but I guess we can keep it...

@mo271 mo271 added the awaiting-author The author should answer a question or perform changes. Reply when done. label May 10, 2026
- Trim the module docstring to title + reference link per mo271's
  literal suggestion, dropping the duplicated verbatim statement, the
  Prikry-Mills construction sketch, and the 2D-analogue note
  (the latter content already lives in the
  erdos_1128.variants.two_dimensional_false theorem docstring).
- Add a TODO acknowledging mo271's suggestion to remove the local
  Omega1 abbreviation in favour of a direct use of Mathlib's ω₁.
  Attempted the swap to {o : Ordinal // o < ω₁} but mixing ω₁ with
  (ℵ_ 1).ord triggers definitional-equality issues across the wrapper
  lemmas and the Prikry-Mills proof; left as a follow-up rather than
  risk a sorry-explosion in this PR.

Per mo271 the two_dimensional_false variant stays ("I guess we can
keep it").
@henrykmichalewski
Copy link
Copy Markdown
Member Author

Applied mo271's docstring-convention review pass in 663bcd6:

  • Lines 1, 63: trimmed the module docstring to title + reference link per the literal suggestion.
  • Line 286 (two_dimensional_false): kept per mo271's "I guess we can keep it".

Line 81 follow-up (replace local Omega1 redefinition with Mathlib's ω₁): I attempted the rewrite to {o : Ordinal // o < ω₁} but mixing ω₁ and (ℵ_ 1).ord triggers definitional-equality issues across the auxiliary wrapper lemmas and the Prikry–Mills proof (despite ord_aleph 1 : (ℵ_ 1).ord = ω_ 1). Rather than risk a sorry-explosion in this PR I left a TODO at the Omega1 declaration documenting mo271's intent (eliminate the wrappers, switch to Mathlib's ω₁ directly), and reverted to the original {o : Ordinal // o < (aleph 1).ord} form. Happy to do the full refactor as a follow-up PR.

Build: lake build FormalConjectures.ErdosProblems.«1128» is green (pre-existing missing-attribute warnings on the private helper lemmas are unchanged).

@mo271
Copy link
Copy Markdown
Collaborator

mo271 commented May 10, 2026

Line 81 follow-up (replace local Omega1 redefinition with Mathlib's ω₁): I attempted the rewrite to {o : Ordinal // o < ω₁} but mixing ω₁ and (ℵ_ 1).ord triggers definitional-equality issues across the auxiliary wrapper lemmas and the Prikry–Mills proof (despite ord_aleph 1 : (ℵ_ 1).ord = ω_ 1). Rather than risk a sorry-explosion in this PR I left a TODO at the Omega1 declaration documenting mo271's intent (eliminate the wrappers, switch to Mathlib's ω₁ directly), and reverted to the original {o : Ordinal // o < (aleph 1).ord} form. Happy to do the full refactor as a follow-up PR.

Let's rather do the full refactor now instead of introducing the alternative Omega1

… (CI)

Per upstream main (PR google-deepmind#3829, CategoryDocstringLinter enabled), all theorem
and lemma declarations now require both @[category ...] and @[AMS ...]
attributes - even private auxiliary lemmas. The previous docstring-cleanup
commit (663bcd6) didn't add these to the 5 private lemmas around the local
`Omega1` abbrev, which broke CI.

Added @[category API, AMS 5] to all 5 affected lemmas:
  - card_le_aleph0_of_lt_omega1
  - countable_toType_of_lt_omega1
  - countable_Iio_of_lt_omega1
  - countable_Iio_omega1
  - countable_subset_bdd

This commit also includes the merge of upstream/main needed to pick up the
linter strictening.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting-author The author should answer a question or perform changes. Reply when done. erdos-problems Erdős Problems

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants